//获取文章列表
exports.getArticles = async (req, res, next) => {
    try {
        //处理请求
        res.send('get /articles');
    } catch (err) {
        next(err);
    }
}

//获取关注的用户文章列表
exports.getFeedArticles = async (req, res, next) => {
    try {
        //处理请求
        res.send('get /articles/feed');
    } catch (err) {
        next(err);
    }
}

//获取文章
exports.getArticle = async (req, res, next) => {
    try {
        //处理请求
        res.send('获取文章');
    } catch (err) {
        next(err);
    }
}

//创建文章
exports.createArticle = async (req, res, next) => {
    try {
        //处理请求
        res.send('post /articles');
    } catch (err) {
        next(err);
    }
}